package com.csist.mapper;

import com.csist.pojo.Announcement;
import com.csist.pojo.Events;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 活动 Mapper 接口
 * </p>
 *
 * @author wy
 * @since 2021-12-01
 */
public interface EventsMapper extends BaseMapper<Events> {
    List<Events> getEventsByPageIndex(@Param("pageIndex") int pageIndex, @Param("pageNum") int pageNum);
    int queryEventsPageSize();
}
